package com.ruoyi.tjbb.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tjbb.mapper.SysTjbbLspzcxbbMapper;
import com.ruoyi.tjbb.domain.SysTjbbLspzcxbb;
import com.ruoyi.tjbb.service.ISysTjbbLspzcxbbService;

/**
 * 历史拍照查询Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
@Service
public class SysTjbbLspzcxbbServiceImpl implements ISysTjbbLspzcxbbService 
{
    @Autowired
    private SysTjbbLspzcxbbMapper sysTjbbLspzcxbbMapper;

    /**
     * 查询历史拍照查询
     * 
     * @param id 历史拍照查询主键
     * @return 历史拍照查询
     */
    @Override
    public SysTjbbLspzcxbb selectSysTjbbLspzcxbbById(Long id)
    {
        return sysTjbbLspzcxbbMapper.selectSysTjbbLspzcxbbById(id);
    }

    /**
     * 查询历史拍照查询列表
     * 
     * @param sysTjbbLspzcxbb 历史拍照查询
     * @return 历史拍照查询
     */
    @Override
    public List<SysTjbbLspzcxbb> selectSysTjbbLspzcxbbList(SysTjbbLspzcxbb sysTjbbLspzcxbb)
    {
        return sysTjbbLspzcxbbMapper.selectSysTjbbLspzcxbbList(sysTjbbLspzcxbb);
    }

    /**
     * 新增历史拍照查询
     * 
     * @param sysTjbbLspzcxbb 历史拍照查询
     * @return 结果
     */
    @Override
    public int insertSysTjbbLspzcxbb(SysTjbbLspzcxbb sysTjbbLspzcxbb)
    {
        return sysTjbbLspzcxbbMapper.insertSysTjbbLspzcxbb(sysTjbbLspzcxbb);
    }

    /**
     * 修改历史拍照查询
     * 
     * @param sysTjbbLspzcxbb 历史拍照查询
     * @return 结果
     */
    @Override
    public int updateSysTjbbLspzcxbb(SysTjbbLspzcxbb sysTjbbLspzcxbb)
    {
        return sysTjbbLspzcxbbMapper.updateSysTjbbLspzcxbb(sysTjbbLspzcxbb);
    }

    /**
     * 批量删除历史拍照查询
     * 
     * @param ids 需要删除的历史拍照查询主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbLspzcxbbByIds(Long[] ids)
    {
        return sysTjbbLspzcxbbMapper.deleteSysTjbbLspzcxbbByIds(ids);
    }

    /**
     * 删除历史拍照查询信息
     * 
     * @param id 历史拍照查询主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbLspzcxbbById(Long id)
    {
        return sysTjbbLspzcxbbMapper.deleteSysTjbbLspzcxbbById(id);
    }
}
